package com.mkh.st.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "数据权限复制入参")
public class UserCopyDataScopeDTO implements Serializable {

	@ApiModelProperty(value="复制类型 1站点权限， 0集团权限")
	@NotNull(message = "复制类型不能为空!")
	private Integer type;

	@ApiModelProperty(value="需要copy的用户ids")
	@NotEmpty(message = "需要copy的用户ids不能为空!")
	private List<Long> userIds;

	@ApiModelProperty(value="被copy的用户id")
	@NotNull(message = "被copy的用户id不能为空!")
	private Long userIdCopyed;
}
